﻿using System;
using Castle.ActiveRecord;

namespace Entity
{
    [ActiveRecord]
    public class TopicDetails : ActiveRecordBase<TopicDetails>
    {
        [PrimaryKey]
        public int TdId { get; set; }

        [Property]
        public int TdTopicId { get; set; }

        [Property]
        public string TdContent { get; set; }

        [Property]
        public DateTime TdTime { get; set; }

        [Property]
        public int TdUserId { get; set; }

        [Property]
        public int TdParentId { get; set; }
    }
}